<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>后台用户</title>
    <meta name="viewport" content="width=device-width,user-scalable=no, initial-scale=1">
    <link rel="stylesheet" href="/static/component/pear/css/pear.css"/>
    <link rel="stylesheet" href="/static/component/markdown/editor/editormd.min.css" />
    <script src="/static/component/layui/layui.js"></script>
    <script src="/static/component/pear/pear.js"></script>
    <script src="/static/component/pear/module/ruinuo/sortable.js"></script>
    <script src="/static/component/pear/module/ruinuo/xm-select.js"></script>
</head>
<body>

<div class="view_body"></div>
<script type="text/html" id="view_body_data">
    <form class="layui-form" action="">
        <div class="mainBox ruinuo_box {{= form_config.form_label}}">
            <div class="main-container layui-row layui-col-space10 label_con">
                <div class="design-box layui-col-xs12 layui-col-md12 user_box {{#  if(layui.engine_form.PowerField('user')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label layui-form-item-required">账号</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="user" id="focus_5fa1_1713363731998_35982" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.user}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 name_box {{#  if(layui.engine_form.PowerField('name')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label layui-form-item-required">姓名</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="name" id="focus_96dd_1713364612872_31938" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.name}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 avatar_box {{#  if(layui.engine_form.PowerField('avatar')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">图像</label>
<div class="layui-input-block " data_tag="upimg" data_source="">
<input  name="avatar" id="focus_6ced_1721960027588_39408" type="hidden" readonly lay-tag="upimg" autocomplete="off"  value="{{= d.detail.avatar}}" class="layui-input">
<div class="upfile display_flex">
<button class="pear-btn pear-btn-sm" type="button" id="upload_6ced_1721960027588_39408"><i class="layui-icon layui-icon-addition"></i>上传图片</button>
</div>
<div class="upload_con"></div>
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 phone_box {{#  if(layui.engine_form.PowerField('phone')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label layui-form-item-required">手机号</label>
<div class="layui-input-block  layui-input-wrap" data_tag="phone" data_source="">
<div class="layui-input-prefix"><i class="ruinuo-icon icon-shouji1"></i></div>
<input  name="phone" id="focus_20f4_1713364619520_73362" type="text" lay-tag="phone" autocomplete="off"  value="{{= d.detail.phone}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 upass_box {{#  if(layui.engine_form.PowerField('upass')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label layui-form-item-required">密码</label>
<div class="layui-input-block  layui-input-wrap" data_tag="password" data_source="">
<div class="layui-input-prefix"><i class="ruinuo-icon icon-mima"></i></div>
<input  name="upass" id="focus_4ee1_1713364623500_33012" type="password" lay-affix="eye" lay-tag="password" autocomplete="off"  value="{{= d.detail.upass}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 path_id_box {{#  if(layui.engine_form.PowerField('path_id')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">我的上级</label>
<div class="layui-input-block " data_tag="select" data_source="admin_user_list">
<select name="path_id" lay-filter="select_filter" lay-search=""><option value="">请选择</option>
{{- layui.engine_form.SelectOption(d.source.admin_user_list.rows,d.detail.path_id)}}</select>
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 role_ids_box {{#  if(layui.engine_form.PowerField('role_ids')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label layui-form-item-required">所属角色</label>
<div class="layui-input-block " data_tag="cascader" data_source="admin_role">
<div  name="role_ids" id="focus_6a4f_1718182133690_28448" type="text" lay-tag="cascader"></div>
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 department_ids_box {{#  if(layui.engine_form.PowerField('department_ids')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label layui-form-item-required">所属组织</label>
<div class="layui-input-block " data_tag="cascader" data_source="department_list">
<div  name="department_ids" id="focus_59db_1713364717418_84771" type="text" lay-tag="cascader"></div>
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 notes_box {{#  if(layui.engine_form.PowerField('notes')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">备注</label>
<div class="layui-input-block " data_tag="textarea" data_source="">
<textarea  name="notes" id="focus_8253_1713364685148_51496" type="textarea" lay-tag="textarea" autocomplete="off" class="layui-textarea" style="min-height: 100px;">{{= d.detail.notes}}</textarea></div>
</div>

            </div>
        </div>
        <div class="bottom">
            <div class="ruinuo-button-con">
                <button type="button" class="pear-btn pear-btn-primary" onclick="SendForm()">
                    <i class="layui-icon layui-icon-ok"></i>提交
                </button>
                <button type="reset" class="pear-btn">
                    <i class="layui-icon layui-icon-refresh"></i>重置
                </button>
            </div>
        </div>
    </form>
</script>
<script>

    function FormBind()
    {
        layui.engine_form.BindUpload('6ced_1721960027588_39408','','upimg','','','1');
layui.engine_form.BindSelect('6a4f_1718182133690_28448','cascader','role_ids','admin_role',1,);
layui.engine_form.BindSelect('59db_1713364717418_84771','cascader','department_ids','department_list',1,);

    }
</script>
<script src="/static/js/admin/user/config.js?t={:time()}"></script>
<script src="/static/component/markdown/editor/editormd.min.js"></script>
<script src="/static/component/markdown/editor/marked.min.js"></script>
<script src="/static/js/admin/user/form.js?t={:time()}"></script>
<script src="/static/component/pear/module/jQuery.print.js"></script>
</body>
</html>